Skip to main content

Online Trade Response

FieldDetails
NameOnline Trade Response
DescriptionOnline trade response sent to third‑party systems

📦 Online Trade Response Parameters​

The ResponseObject contains a key named objJSONRows, which includes the following parameters:

Parameter (Key)Data TypeDescription
MessageTypevarchar(10)TRD_MSG
ManagerIDintManager ID
TradeNumberintTrade number
OrderNumbervarchar(50)Must be 0 for order entry. For modification/cancellation, this must be filled before sending.
CliOrderNumberintGateway/Client order number (system‑generated)
Exchangevarchar(10)Exchange name
ScripCodeintScrip code
Symbolvarchar(20)Exchange‑provided security symbol
Seriesvarchar(3)Exchange‑provided security series
InstrumentNamevarchar(20)Instrument name. Valid values include:
• Equity = blank
• Future Index = FUTIDX
• Interest Rate Future = FUTINT
• Future Stock = FUTSTK
• Option Index = OPTIDX
• Option Stock = OPTSTK
• MCX/NCDEX Futures = FUTCOM
• MCX Spot = COM
• NCDEX Spot = COMDTY
• NSE Currency Future = FUTCUR, FUTIRD, FUTIRT, OPTCUR
• NSE Currency Spot = INDEX, UNDCUR, UNDIRD, UNDIRT
ExpiryDatevarchar(10)Expiry date in format ddMMMyyyy (e.g., 24JUN2004). Applicable for Futures and Options only.
StrikePriceintExchange‑provided strike price (in multiples of 100). Applicable for options only.
Option_Typevarchar(2)Option type. Applicable for options only.
Buy_Sellint1 → Buy
2 → Sell
TradeQtyintTraded quantity
TradedPriceintTrade price in paise (e.g., 45065)
OrderOriginalQtyintTotal order quantity (e.g., 12500)
PendingQtyintPending quantity
DQintDisclosed quantity to be shown to the market (e.g., 2500)
DQRemainingintRemaining disclosed quantity
QuantityTradedTodayintTotal traded quantity for the day (including current trade)
OrderTypeintOrder type
DaysintNumber of days (applicable for certain product types)
ProCliint2 → PRO
1 → Client
UserIDvarchar(16)Exchange user ID
PartCodevarchar(25)Participant ID
TradeTimedatetimeTrade timestamp in 24‑hour format (e.g., 15Jun2019 15.25.15)
OrderTimedatetimeOrder timestamp in 24‑hour format
OrderLastModifiedTimedatetimeTimestamp when the order was last confirmed/modified
CPIDvarchar(6)CP ID
UCCvarchar(6)Alias UCC code
Productvarchar(5)Product type of the order
InitiatedByvarchar(25)Application from which the order was initiated
ModifiedByvarchar(25)Application from which the order was modified
InitiatedByUserIdvarchar(25)User ID who initiated the order
ModifiedByUserIdvarchar(25)User ID who modified the order
LegIndicatorvarchar(25)Leg indicator values:
• Normal Order = Blank
• Spread Order = Blank
• Main Leg = 9
• SL Leg = 10
• Profit Leg = 11
UserRemarksvarchar(10)User remarks
Miscvarchar(10)Values may be: SPO-LMT, SPO-MKT, PO-MKT, PO-LMT
SpreadFlagvarchar(10)0 = Normal order
1 = Spread order
SpreadPriceintSpread price
MessageSequenceNumberint64Running message sequence number (use the highest for latest status)
OrderPriceintOrder price (fresh or modified) in paise
UniqueCodevarchar(12)Alphanumeric value with special characters